package Exercise01;

public  class Electronic {


    String name;
    String color ;
    double  money;
    public Electronic(String name) {
        this.name = name;
    }

    public Electronic() {
    }

    public Electronic(String name, String color, double money) {
        this.name = name;
        this.color = color;
        this.money = money;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public double getMoney() {
        return money;
    }

    public void setMoney(double money) {
        this.money = money;
    }

    @Override
    public String toString() {
        return "Demo{" +
                "name='" + name + '\'' +
                ", color='" + color + '\'' +
                ", money=" + money +
                '}';
    }
}
